# Gnuplot scipt file for plotting data in file "normal_bonanza.dat" and advanced_bonanza_total.dat
# This file is named normal_bonanza.p

set terminal png

unset log
#set logscale xy
#unset log y2

unset label

set xtic auto
set ytic auto

set autoscale
#set xrange [0:20]
set yrange [0:7e+9]

set xlabel "matrix size"
set ylabel "rum time(nsecs)"

set boxwidth 1 relative
set style data histograms

set style histogram cluster

set style fill pattern 3

set output "row_block_adv_#4.png"

plot 'row_adv.dat' using 2: xtic(1) title "row-column partition",\
      'block_adv.dat' using 2: xtic(1) title "block partition"

set yrange [0:2e+10]

set output "row_block_adv_#16.png"

plot 'row_adv.dat' using 3: xtic(1) title "row-column partition",\
      'block_adv.dat' using 3: xtic(1) title "block partition"
